package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AlsOrderPostingRecordDao;
import com.infoauto.opc.gateway.model.AlsOrderPostingRecord;
import com.infoauto.opc.gateway.service.AlsOrderPostingRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AlsOrderPostingRecordServiceImpl implements AlsOrderPostingRecordService {
    @Autowired
    private AlsOrderPostingRecordDao dao;


    @Override
    public int insert(AlsOrderPostingRecord alsOrderPostingRecord) {
        return dao.insert(alsOrderPostingRecord);
    }

    @Override
    public int update(AlsOrderPostingRecord alsOrderPostingRecord) {
        return dao.update(alsOrderPostingRecord);
    }
}
